package cn.ms.doctor.Service;

import cn.ms.doctor.Entity.Patient;

import java.util.Map;

public interface PatientService {

    Map<String, Object> getPatientBySearch(Map<String, Object> params);

    boolean updatePatientNameOrIdnumOrSex(Patient patient);

    boolean addPatient(Patient patient);

    Integer getPatientCountByIdnum(String patientIdnum);

    boolean deletePatientByIdAndIdnum(Patient patient);
}
